FUNCTION
gtv.from_bytes_or_null
function from_bytes_or_null(bytes: byte_array): gtv?Decode a GTV from a byte array.
Parameters
- bytes — the byte array to decode
Returns
the decoded GTV, or null if the byte array does not encode a well-formed GTV; i.e. if a
GTV cannot be decoded
Since
0.13.0
© 2026 Chromia